using System;

namespace AdvancedInspector
{
	[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field)]
	public class StyleAttribute : Attribute
	{
		private string style = string.Empty;

		private bool label = true;

		public string Style
		{
			get
			{
				return style;
			}
			set
			{
				style = value;
			}
		}

		public bool Label
		{
			get
			{
				return label;
			}
			set
			{
				label = value;
			}
		}

		public StyleAttribute(string style)
			: this(style, true)
		{
		}

		public StyleAttribute(string style, bool label)
		{
			this.style = style;
			this.label = label;
		}
	}
}
